package com.usian.service;


import com.usian.room.Room;
import com.usian.roomuser.RoomUser;
import com.usian.user.User;

import java.util.List;

public interface RoomService {
    void addRoom(Room room);

    List<Room> roomList();

    User getUserById(Integer roomUser);

    List<RoomUser> getRoomUser();

    Room getRoomById(Integer roomUser, Integer roomNumber);

    void insertRoomUser(Room room1);

    void delRoom(Integer roomid);

    void addUser(RoomUser roomUser);

    List<User> getRoomUsers(Integer roomid);

    void delRoomUser(Integer roomid, Integer userid);

    List<RoomUser> roomUsers();

}
